home *** CD-ROM | disk | FTP | other *** search
- Path: jhunix.hcf.jhu.edu!hbien
- From: hbien@jhunix.hcf.jhu.edu (Harold Bien)
- Newsgroups: comp.lang.c++
- Subject: Re: HELP!! BC++ 4.0 linker problem
- Date: 18 Feb 1996 19:19:28 GMT
- Organization: HCF - Johns Hopkins University, Baltimore, Maryland, USA
- Message-ID: <4g7u40$pm9@news.jhu.edu>
- References: <4g6l8k$pv@zippy.cais.net>
- NNTP-Posting-Host: 128.220.2.5
- X-Newsreader: TIN [version 1.2 PL2]
-
- Duffy Men (duffy@cais.cais.com) wrote:
- : I has BC++ 4.0 installed on my PC. Their has a C++ program, it can
- : successfully compile and link under microsoft C/C++ 7.0. I tried to
- : compile and link this program under BC++ 4.0 and has linker error.
-
- : Linker error: undefined symbol OwlMain (int, char fat*far*) in
- : library file c:\bc4\lib\owlwj.lib in module winmain
-
- : Can anyone tell me why? Thank you for help.
-
- Make sure that you are not creating an OWL application. It seems as
- if you have defined a main() function, but no OwlMain() function. In
- Borland C++, if you select to link in the OWL library, then you should
- define a function OwlMain() instead of main(). I'm not sure, but try
- changing your main() to OwlMain() or do not link in the OWL library.
-